<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>登录</title>
    <link
      rel="stylesheet"
      href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
      integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu"
      crossorigin="anonymous"
    />
    <link rel="stylesheet" href="../css/login1.css" />
  </head>
  <body>
    <div id="loginPage">
      <div id="loginBox">
        <h1>
          数&nbsp;&nbsp;字&nbsp;&nbsp;化&nbsp;&nbsp;档&nbsp;&nbsp;案&nbsp;&nbsp;管&nbsp;&nbsp;理&nbsp;&nbsp;平&nbsp;&nbsp;台
        </h1>
        <form action="./home.html">
          <div id="prompt">账户密码登录</div>
          <div class="form-group">
            <input
              type="test"
              class="form-control"
              id="tel"
              placeholder="请输入账号"
            />
          </div>
          <div class="form-group">
            <input
              type="password"
              class="form-control"
              id="pass"
              placeholder="请输入密码"
            />
          </div>
          <div class="login">
            <div>
              <input type="checkbox" class="optionBox" />
              <span>自动登录</span>
            </div>
            <button type="submit" class="btn-lg btn btn-primary">登录</button>
          </div>
        </form>
      </div>
    </div>
    <script>
      var user = [
        {
          tel: "15883289781",
          pass: "289781",
        },
        {
          tel: "13541966178",
          pass: "966178",
        },
        {
          tel: "15244834907",
          pass: "834907",
        },
        {
          tel: "18728711450",
          pass: "711450",
        },
        {
          tel: "18781727533",
          pass: "727533",
        },
        {
          tel: "18048428203",
          pass: "428203",
        },
        {
          tel: "15609076673",
          pass: "076673",
        },
        {
          tel: "13219093664",
          pass: "093664",
        },
      ];
      localStorage.setItem("user", JSON.stringify(user));
    </script>
    <script src="../js/login.js"></script>
  </body>
</html>
